﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E65 RID: 3685
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueBonusSelectCallback : IMessage<RogueBonusSelectCallback>, IMessage, IEquatable<RogueBonusSelectCallback>, IDeepCloneable<RogueBonusSelectCallback>, IBufferMessage
	{
		// Token: 0x17002ED3 RID: 11987
		// (get) Token: 0x0600A56E RID: 42350 RVA: 0x001BDB97 File Offset: 0x001BBD97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueBonusSelectCallback> Parser
		{
			get
			{
				return RogueBonusSelectCallback._parser;
			}
		}

		// Token: 0x17002ED4 RID: 11988
		// (get) Token: 0x0600A56F RID: 42351 RVA: 0x001BDB9E File Offset: 0x001BBD9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueBonusSelectCallbackReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002ED5 RID: 11989
		// (get) Token: 0x0600A570 RID: 42352 RVA: 0x001BDBB0 File Offset: 0x001BBDB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueBonusSelectCallback.Descriptor;
			}
		}

		// Token: 0x0600A571 RID: 42353 RVA: 0x001BDBB7 File Offset: 0x001BBDB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBonusSelectCallback()
		{
		}

		// Token: 0x0600A572 RID: 42354 RVA: 0x001BDBBF File Offset: 0x001BBDBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBonusSelectCallback(RogueBonusSelectCallback other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A573 RID: 42355 RVA: 0x001BDBD8 File Offset: 0x001BBDD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBonusSelectCallback Clone()
		{
			return new RogueBonusSelectCallback(this);
		}

		// Token: 0x0600A574 RID: 42356 RVA: 0x001BDBE0 File Offset: 0x001BBDE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueBonusSelectCallback);
		}

		// Token: 0x0600A575 RID: 42357 RVA: 0x001BDBEE File Offset: 0x001BBDEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueBonusSelectCallback other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600A576 RID: 42358 RVA: 0x001BDC0C File Offset: 0x001BBE0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A577 RID: 42359 RVA: 0x001BDC32 File Offset: 0x001BBE32
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A578 RID: 42360 RVA: 0x001BDC3A File Offset: 0x001BBE3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A579 RID: 42361 RVA: 0x001BDC43 File Offset: 0x001BBE43
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A57A RID: 42362 RVA: 0x001BDC5C File Offset: 0x001BBE5C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A57B RID: 42363 RVA: 0x001BDC82 File Offset: 0x001BBE82
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueBonusSelectCallback other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A57C RID: 42364 RVA: 0x001BDC9F File Offset: 0x001BBE9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A57D RID: 42365 RVA: 0x001BDCA8 File Offset: 0x001BBEA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004349 RID: 17225
		private static readonly MessageParser<RogueBonusSelectCallback> _parser = new MessageParser<RogueBonusSelectCallback>(() => new RogueBonusSelectCallback());

		// Token: 0x0400434A RID: 17226
		private UnknownFieldSet _unknownFields;
	}
}
